<div>
  <input id="{{$t|escape:'html'}}_add" type="button" value="Create New Knowledge"/>
  <input id="{{$t|escape:'html'}}_delete" type="button" value="Delete"/>
</div>

<table border="solid 1px #ccc" id="{{$t|escape:'html'}}_content">
  <tr>
    <td width="25px"><input type="checkbox" id="{{$t|escape:'html'}}_checkAll"></input></td>
    <td width="400px" style="padding-left: 10px"><b>Title</b></td>
    <td width="200px" style="padding-left: 10px"><b>Type</b></td>
    <td width="400px" style="padding-left: 10px"><b>Intro</b></td>
  </tr>
</table>

{{*/* Javascript */*}}
<script src="jsrequest.php?script={{$t|escape:'html'}}" type="text/javascript"></script>
<script type="text/javascript">
  <!--
    if (document.addEventListener) {
      document.addEventListener('DOMContentLoaded', init, false);
    }
    window.onload = init;

    function init() {
      if (!document.getElementById || !document.createElement || !arguments || arguments.callee._loaded) {
        return;
      }
      arguments.callee._loaded = true;
      var gui = Api_Knowledges.gui('{{$t|escape:'javascript'}}');
      new Core_Knowledges(gui, JSON.parse('{{$u|escape:javascript}}'), JSON.parse('{{$d|escape:javascript}}'), JSON.parse('{{$opts|escape:javascript}}'), JSON.parse('{{$msg|escape:javascript}}'));
    }
  //-->
</script>
